import { APP } from '@/store/mutationsTypes';
import Vue from 'vue';
import store from '@/store';
const appLoadingMixin = {
  beforeRouteLeave() {
    Vue.prototype.loadingAy = [];
    store.commit(APP.UPDATE_LOADING, false);
  },
};
export default appLoadingMixin;
